{foreach from=$value item=item}
<form method="post">
<article class="module width_full">
    <header><h3>{#petitions#} - {$item.status}</h3></header>
    <div class="module_content">
        <fieldset>
            <label>{#title#}</label>
            <input type="text" name="title" value="{$item.title}" >
        </fieldset>
        <fieldset>
            <label>{#message#}</label>
            <textarea rows="10" style="width:95%;" readonly>{$item.message}</textarea>
        </fieldset>
		<div class="clear"></div>
    </div>
    <footer>
        <div class="submit_link">
            <a href="index.php?mod=petitions&page=replay&id={$item.id}"><input type="button" value="{#replay#}" name="replay" class="alt_btn"></a>
			<input type="submit" value="{#in_progress#}" name="progress" class="alt_btn">
            <input type="submit" value="{#close#}" name="close" class="alt_btn">
        </div>
    </footer>
</article>
</form>
{/foreach}
<!-- Addet -->
<div class="modal" id="progress">
        <h3>{#status#}</h3>
		<p>{#success_progress#}</p>
</div>
<div class="modal" id="closed">
        <h3>{#status#}</h3>
		<p>{#success_closed#}</p>
</div>